﻿using System;

namespace Mind.Data
{
    public interface ISchema
    {
        ColumnInfo[] Columns { get; }
        ColumnInfo KeyColumn { get; }
        ColumnInfo[] NameColumns { get; }
        ColumnInfo[] NormalColumns { get; }
        string TableName { get; }
        ColumnInfo this[string columnName] { get; }
    }
}
